#!/bin/bash
phpdoc=phpdoc
if [ "$OSTYPE" == "cygwin" ]; then
    phpdoc=phpdoc.bat
fi
$phpdoc -d Log -t docs/phpDoc -ti Log_XML -p -pp --sourcecode
firefox -new-tab docs/phpDoc/index.html
firefox -new-tab docs/phpDoc/errors.html